package com.hcl.orm.sample.domain;

import com.hcl.orm.core.annotation.UK;

/**
 * @author hucl
 * @projectName jim-orm
 * @description: Agency实体
 * @date
 */
public class Agency {
    private String agencyNo;
    @UK
    private String prodtaNo;
    private Integer updateDate;
    private String agencyName;
    private String companyName;
    @UK
    private Integer companyNo;
    private Integer updateTime;

    public String getAgencyNo() {
        return agencyNo;
    }

    public void setAgencyNo(String agencyNo) {
        this.agencyNo = agencyNo;
    }

    public String getProdtaNo() {
        return prodtaNo;
    }

    public void setProdtaNo(String prodtaNo) {
        this.prodtaNo = prodtaNo;
    }

    public Integer getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Integer updateDate) {
        this.updateDate = updateDate;
    }

    public String getAgencyName() {
        return agencyName;
    }

    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public Integer getCompanyNo() {
        return companyNo;
    }

    public void setCompanyNo(Integer companyNo) {
        this.companyNo = companyNo;
    }

    public Integer getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Integer updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Agency{" +
                "agencyNo='" + agencyNo + '\'' +
                ", prodtaNo='" + prodtaNo + '\'' +
                ", updateDate=" + updateDate +
                ", agencyName='" + agencyName + '\'' +
                ", companyName='" + companyName + '\'' +
                ", companyNo=" + companyNo +
                ", updateTime=" + updateTime +
                '}';
    }
}
